package com.hawthorn.admin.service.sysdept;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>todo </p>
 * @author: fengliye@expservice.com.cn
 * @created: 2022/6/22 16:50
 * @version v1.0.1
 */
public interface SysDeptService
{
  IPage<Map<String, Object>> listDepts(Page<Map<String, Object>> page, String conditions);

  Map<String, Object> saveDept(Map<String, Object> param);

  Map<String, Object> updateDept(Long id, Map<String, Object> param);

  void exportDept(HttpServletResponse response, String filename, Map<String, Object> params);

  Map<String,Object> updateDeptStatus(Long id, Integer status);

  Map<String, Object> isDealer(Map<String, Object> params);
}
